package com.lengxf.pay.starter.parent.pay;

import cn.hutool.core.lang.Assert;
import com.lengxf.pay.common.enums.PayChannel;
import lombok.Data;

@Data
public class ChannelConfig {

    private PayChannel payChannel;

    private String config;

    public ChannelConfig(PayChannel payChannel, String config) {
        Assert.notNull(payChannel);
        Assert.notBlank(config);
        this.payChannel = payChannel;
        this.config = config;
    }

}
